import request from '@/utils/request'

// 提交三好学生申请
export function goodStuApply(data) {
    return request({
        url: "/comprehensive/goodapply/applySHXS",
        method: "post",
        data
    });
}

// 查看我的申请
export function getMyApply(params) {
    return request({
        url: "/comprehensive/goodapply/selectApplySHXS",
        method: "get",
        params
    });
}

// 查看我的成绩
export function getMyGrade(params) {
    return request({
        url: "/comprehensive/goodapply/listOwnYearCourseScore",
        method: "get",
        params
    });
}

export function cancelOwnApply(id){
    return request({
      method:"post",
      url:"/comprehensive/goodapply/cancelOwnApply/"+id
    });
  }

  //验证三好学生
  export function verifyApplySHXS(){
    return request({
      method:"post",
      url:"/comprehensive/goodapply/verifyApplySHXS"
    });
  }

  export function countOwnPassOther() {
    return request({
      method: 'GET',
      url: "/comprehensive/goodapply/countOwnPass"
    });
  }

  export function listOwnScoreClassRankOther() {
    return request({
      url: "/comprehensive/goodapply/listOwnScoreRank",
      method: "GET"
    });
  }